package com.yb.personelmanagement.service.department.impl;

import com.yb.personelmanagement.dao.CompLevelDao;
import com.yb.personelmanagement.domain.department.CompLevel;
import com.yb.personelmanagement.service.department.CompLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @description 单位层级ServiceImpl
 * @date 2019/8/24
 */
@Service
public class CompLevelServiceImpl implements CompLevelService {

    @Autowired
    CompLevelDao compLevelDao;

    @Override
    public List<CompLevel> findAll() {

        return compLevelDao.findAll();
    }
}
